import './index.scss';
import notSvg from '@/assets/svg/404.svg';
import { ReactSVG } from 'react-svg';
import { Button } from 'antd';
export default function NotFound() {
  return (
    <div className="not-found">
      <div className="icon">
        <ReactSVG
          src={notSvg}
          beforeInjection={(svg) => {
            svg.classList.add('icon-svg');
          }}
        ></ReactSVG>

        <div>
          <Button type="primary">返回首页</Button>
        </div>
      </div>
    </div>
  );
}
